{extend name="layout/layout" /}

{block name="pagecss"}

{/block}

{block name="content"}
<div class="row">
    <div class="col-md-12">
        <!-- BEGIN SAMPLE FORM PORTLET-->
        <div class="portlet light">
            <div class="portlet-title">
                <div class="caption">
                    <i class="icon-share font-dark"></i>
                    <span class="caption-subject font-dark bold uppercase"> {$title}</span>
                </div>
                <div class="actions">
                    <a class="btn btn-circle btn-icon-only btn-default fullscreen" href="javascript:;" data-original-title="" title=""> </a>
                </div>
            </div>
            <div class="portlet-body">
                <!--<h4>Horizontal Form</h4>-->
                <form id="ajax-form" action="{:url('agent/profile/save')}" class="horizontal-form" name="ajaxForm">
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label">姓名</label>
                                <input type="text" class="form-control" name="loginName" value="{$info.loginName}" placeholder="">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label">原始密码</label>
                                <input type="password" class="form-control" name="ori_password" value="" placeholder="">
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label">手机号</label>
                                <input type="text" class="form-control" name="phone" value="{$info.phone}" placeholder="">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label">新密码</label>
                                <input type="password" class="form-control" name="password" value="" placeholder="">
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-6">

                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label">确认密码</label>
                                <input type="password" class="form-control" name="confirm_password" value="" placeholder="">
                            </div>
                        </div>
                    </div>

                    <hr>
                    <div class="row">
                        <div class="form-actions">
                            <div class="col-md-offset-2 col-md-10">
                                <button type="button" class="btn blue save-btn">
                                    保存 <i class="fa fa-floppy-o"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <!-- END SAMPLE FORM PORTLET-->
    </div>
</div>
{/block}

{block name="pagescript"}
<script src="__STATIC__/agent/pages/js/profile.js" type="text/javascript"></script>
{/block}